<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<title>FLDCMS后台管理系统</title>
<meta name="keywords" content="FLDCMS，FLDCMS后台管理系统">
<meta name="description" content="FLDCMS，是一款由FLD开发的轻量级扁平化网站后台模板，适合中小型CMS后台系统。">
{include file="public/header" /}
<style>
	img[nc_type="flex"]{cursor:pointer;}
</style>
</head>
<body>
<nav class="breadcrumb">
	<i class="Hui-iconfont">&#xe67f;</i> 首页
	{notempty name="$node_info.p_title"}
	<span class="c-gray en">&gt;</span>
		{$node_info.p_title}
	{/notempty}
	{notempty name="$node_info.node_title"}
	<span class="c-gray en">&gt;</span>
		{$node_info.node_title}
	{/notempty}
	<a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" >
		<i class="Hui-iconfont">&#xe68f;</i>
	</a>
</nav>
<div class="page-container">
	<div class="text-l cl pd-10 bg-1 bk-gray">
		<form name="search-form" id="search-form" method="post" action="{:url('actionlog/index')}">
			<label class="search_label">关键字：</label>
			<input type="text" name="keyword" id="keyword" placeholder=" 关键字" class="input-text w150" value="{$keyword}">
			<label class="search_label">操作方法：</label>
			<span class="select-box radius w120">
				<select name="action_name" class="select valid">
					<option value="">==请选择==</option>
					{foreach name="action_list" item="avo"}
						<option value="{$avo.action_name}"
							{if condition="$action_name eq $avo['action_name']"}
								selected
							{/if}
						>{$avo.action_name}</option>
					{/foreach}							
				</select>
			</span>
			<button class="btn btn-success" type="submit"><i class="Hui-iconfont">&#xe665;</i> 查询</button>
		</form>
	</div>
	<div class="mt-20">
		<table class="table table-border table-bordered table-bg table-hover table-sort" id="table_menu">
			<thead>
				<tr class="text-c">
					<th width="50">编号</th>
					<th width="80">用户名</th>
					<th width="80">操作ip</th>
					<th width="80">操作路径</th>
					<th width="80">操作方法</th>
					<th width="150">内容</th>
					<th width="120">时间</th>
				</tr>
			</thead>
			<tbody>
				{notempty name="list"}
				{foreach name="list" item="vo"}
				<tr class="text-c">
					<td class="text-c">{$vo.id}</td>
					<td class="text-c">{$vo.admin_name}</td>
					<td class="text-c">{$vo.action_ip}</td>
					<td class="text-c">{$vo.url}</td>
					<td class="text-c">
						<span  
							{if condition="$vo.action_name eq '添加'"}
							class="label label-success radius"
							{elseif condition="$vo.action_name eq '编辑'"} 
							class="label label-primary radius"
							{elseif condition="$vo.action_name eq '删除'"} 
							class="label label-danger radius"
							{else /}
							class="label label-secondary radius"
							{/if}
						>{$vo.action_name}</span>
					</td>
					<td class="text-l">{$vo.content}</td>
					<td class="text-c">{$vo.add_time|date="Y-m-d H:i:s",###}</td>
				</tr>
				{/foreach}
				{/notempty}
				{empty name="list"}
					<tr class="no_data">
						<td class="text-c" colspan="7">
							没有符合条件的记录
						</td>
					</tr>
				{/empty}
			</tbody>
		</table>
	</div>
	<div class="pager">
		{$page}	
	</div>
</div>
{include file="public/footer" /}
<script type="text/javascript">
</script>
</body>
</html>